import request from '@/utils/http'

// 获取某分类所有文章
export const getArticleListAPI = cateId => request.get(`/articles/${cateId}`)
// 获取文章分类列表
export const getArticleCateListAPI = () => request.get('/article/cate')
// 获取指定id的分类信息
export const getArticleCateByIdAPI = id => request.get(`/article/cate/${id}`)

